#include "CPlayer.h"
#include <iostream>
#include <cmath>
#include <cstdio>
#include <string>
using namespace std;

Player::Player()
{
	name="";
	xPos=0;
	yPos=0;
	direction=1;
	moves=5;
	maxMoves=12;
	money=200;
	reputation=0;
	health=100;
}

Player::~Player(){}

string Player::getName(){return name;}
int Player::getXpos(){return xPos;}
int Player::getYpos(){return yPos;}
float Player::getDirection(){return direction;}
int Player::getMoves(){return moves;}
int Player::getMaxmoves(){return maxMoves;}
int Player::getMoney(){return money;}
int Player::getReputation(){return reputation;}
int Player::getHealth(){return health;}

void Player::setName(string cname){name=cname;}
void Player::setXpos(int cxpos){xPos=cxpos;}
void Player::setYpos(int cypos){yPos=cypos;}
void Player::setDirection(float cdirection){direction=cdirection;}
void Player::setMoves(int cmoves){moves=cmoves;}
void Player::setMaxmoves(int cmaxmoves){maxMoves=cmaxmoves;}
void Player::setMoney(int cmoney){money=cmoney;}
void Player::setReputation(int creputation){reputation=creputation;}
void Player::setHealth(int chealth){health=chealth;}